<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>轿车与轿车追尾碰撞</title>
  <link rel="stylesheet" href="./css/gx.css" />
  <script src="./js/2.js"></script>
  <style>
    #js2_gs_img {
      width: 320px;
      height: 100px;
    }
  </style>
</head>

<body>
  <div class="div1">
    <div class="gx_mk">

      <h3 style="margin-left:5% ;width:auto; ">轿车与轿车追尾碰撞</h3>
    </div>

    <div class="gx_mk">

      <p class="my_span">公式2:</p>
      <img class="img_gx" id="js2_gs_img" src="img/公式2.jpg" alt="./img/2-1.jpg">
    </div>
    <div class="gx_mk">

      <p>
        <input type="number" class="input_x" id="input1" min="1" placeholder="请输入m1" />
        <span class="my_span">m1：碰撞车质量，单位为千克（Kg） </span>
      </p>

      <p>
        <input type="number" class="input_x" id="input2" min="1" placeholder="请输入m2" />
        <span class="my_span">m2：被碰撞车质量，单位为千克（Kg） </sapn>
      </p>

      <p>
        <input type="number" class="input_x" id="input3" min="1" placeholder="请输入φ1" />
        <span class="my_span">φ1：碰撞车滑动附着系数</span>
      </p>
      <p>
        <input type="number" class="input_x" id="input4" min="1" placeholder="请输入k1" />
        <span class="my_span">k1：碰撞车附着系数修正值</span>
      </p>

      <p>
        <input type="number" class="input_x" id="input5" min="1" placeholder="请输入s1" />
        <span class="my_span">s1：碰撞车碰撞后的滑移距离，单位为米（m） </span>
      </p>

      <p>
        <input type="number" class="input_x" id="input6" min="1" placeholder="请输入s2" />
        <span class="my_span">s2：被碰撞车碰撞后的滑移距离，单位为米（m）</sapn>
      </p>
      <p>
        <input type="number" class="input_x" id="input7" min="1" placeholder="请输入f2" />
        <span class="my_span">f2：被碰撞车的滚动阻力系数</sapn>
      </p>
      <p>
        <input type="number" class="input_x" id="input8" min="1" placeholder="请输入x2" />
        <span class="my_span">x2：被碰撞车塑性变形量，单位为米（m）</sapn>
      </p>
    </div>

    <div class="gx_mk">

      <p>结果：<span id="result">0 </span>
        <span class="my_span">( v1：交通事故瞬间碰撞车速度，单位为千米每小时（Km/h）)</span>
      <p>结果：<span id="result1">0 </span>
        <span class="my_span">( v2：交通事故瞬间被碰撞车速度，单位为千米每小时（Km/h）)</span>

      <p><span class="my_span">( 注：上式中采用了轿车追尾碰撞道路交通事故车辆有效碰撞速度和塑性变形量的经验公式)</span>
      </p>
      <button onclick="calculate()" class="btn-s">提交</button>

    </div>
  </div>

</body>

</html>